-
Notifications
You must be signed in to change notification settings - Fork 1.6k
(cli): Add experimental Windows platform support #5251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
(cli): Add experimental Windows platform support #5251
Conversation
|
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 903174293 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Welcome @903174293! |
|
Hi @903174293. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
在windows os上执行创建文件件,进入到文件夹下,执行如下命令即可验证: |
|
Hi @903174293 thanks for opening the PR. I'm afraid native Windows support is not currently on the roadmap for Kubebuilder. The motivation behind not pursuing Windows support can be read in here, here and here Nonetheless, if you still think native support is better than the WSL2 + Docker combo we recommend, or if there are any limitations/shortcomings to that, please let us know and we can further discuss this patch. |
| LOCALBIN ?= $(shell pwd)/bin | ||
| LOCALBIN ?= $(CURDIR)/bin | ||
| # WINDOWS_CYGWIN_FIX: Convert Cygwin/Git Bash paths to Windows paths for Go tools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kubebuilder should not scaffold content that is specific to Windows—or to any particular OS.
/hold
Add Windows/Cygwin/MINGW64 support to generated Makefiles
Fix Kubebuilder to work correctly on Windows environments (CMD, PowerShell,
Cygwin, and Git Bash/MINGW64) by improving the generated Makefile to handle
path format differences.
Problem:
Solution:
Changes:
Testing:
Backward Compatibility:
Fixes: #[issue-number]